<!doctype html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="viewport"
    content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <!-- <meta name="viewport" content="width=device-width, initial-scale=1.0" /> -->
  <link rel="stylesheet" href="/jf-ui-public/cdn/jvs/jvs.css">
  <!-- <script type="text/javascript" src="/jf-ui-public/jquery-3.4.1.min.js"></script> -->
  <!-- <script type="text/javascript" src="/jf-ui-public/cdn/mind-elixir/simpleMindMap.umd.js"></script> -->
  <script type="text/javascript" src="/jf-ui-public/cdn/html2canvas/html2canvas.min.js"></script>
  <script type="text/javascript" src="/jf-ui-public/cdn/axios/1.0.0/axios.min.js" charset="utf-8"></script>
  <script type="text/javascript" src="/jf-knowledge-plugins/config.js"></script>
  <link rel="stylesheet" type="application/l10n" href="/jf-knowledge-plugins/PDFJS/l10n/locale.json">
  <link rel="stylesheet" type="text/css" href="/jf-ui-public/fonts/font.css">

  <!-- 
  <link rel="stylesheet" href="/jf-knowledge-plugins/cdn/luckysheet/plugins/css/pluginsCss.css" />
  <link rel="stylesheet" href="/jf-knowledge-plugins/cdn/luckysheet/plugins/plugins.css" />
  <link rel="stylesheet" href="/jf-knowledge-plugins/cdn/luckysheet/css/luckysheet.css" />
  <link rel="stylesheet" href="/jf-knowledge-plugins/cdn/luckysheet/assets/iconfont/iconfont.css" />
  <link rel="stylesheet" href="/jf-knowledge-plugins/cdn/luckysheet/assets/customicon/iconfont.css" />
   -->

  <!-- <script type="text/javascript" src="/jf-knowledge-plugins/cdn/luckysheet/plugins/js/plugin.js"></script>
  <script type="text/javascript" src="/jf-knowledge-plugins/cdn/luckysheet/luckysheet.umd.js"></script> -->

  <script type="text/javascript" src="https://office.jvs.bctools.cn/web-apps/apps/api/documents/api.js"></script>
  <!-- <link rel="stylesheet" href="/jf-knowledge-plugins/cdn/monaco//codicon.css" /> -->
</head>

<body>
  <noscript>
    <strong>很抱歉，如果没有 JavaScript 支持，网站将不能正常工作。请启用浏览器的 JavaScript 然后继续。</strong>
  </noscript>
  <div id="linkAndScript"></div>
  <div id="app">
    <div class="jvs-home">
      <div class="jvs-home__main">
        <img class="jvs-home__loading_gif" src="/jf-ui-public/img/loading.gif" alt="">
        <div class="jvs-home__title">
          正在加载资源
        </div>
        <div class="jvs-home__sub-title">
          初次加载资源可能需要较多时间 请耐心等待
        </div>
      </div>
    </div>
  </div>
  <script type="module" src="/src/main.ts"></script>
  <!-- 知识库的新版图标 -->
  <link rel="stylesheet" type="text/css" href="/jf-knowledge-plugins/icon-fonts/mobile/iconfont.css">
  <link rel="stylesheet" type="text/css" href="/jf-knowledge-plugins/icon-fonts/pc/iconfont.css">
  <script type="text/javascript" src="/jf-knowledge-plugins/icon-fonts/mobile/iconfont.js"></script>
  <script type="text/javascript" src="/jf-knowledge-plugins/icon-fonts/pc/iconfont.js"></script>
  <!-- xmind -->
  <link rel="stylesheet" type="text/css" href="/jf-knowledge-plugins/icon-fonts/xmind/iconfont.css">
  <!-- 图标选择 -->
  <script type="text/javascript" src="/jf-knowledge-plugins/icon-fonts/xietong/iconfont.js"></script>
  <script type="text/javascript" src="/jf-knowledge-plugins/icon-fonts/work/iconfont.js"></script>
  <script>
    if (phone() || isWeiXin()) {
      document.documentElement.style.fontSize = (document.documentElement.clientWidth / 24.375).toFixed(2) + 'px'
      // let scriptDom1 = document.createElement('script')
      // scriptDom1.src='./jf-ui-public/cdn/jweixin/jweixin-1.6.0.js'
      // document.body.appendChild(scriptDom1)
    } else {
      // alert("电脑打开");
    }
    function phone() {
      if ((navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))) {
        // console.log('移动端');
        return true;
      } else {
        // console.log('pc端');
        return false;
      }
    }
    function isWeiXin() {
      var ua = window.navigator.userAgent.toLowerCase();    // 该属性包含了浏览器类型、版本、操作系统类型、浏览器引擎类型等信息
      //通过正则表达式匹配ua中是否含有MicroMessenger字符串
      if (ua.match(/MicroMessenger/i) == 'micromessenger') {
        return true;
      } else {
        return false;
      }
    }
  </script>
</body>

</html>